<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main</title>
<load href='__PUBLIC__/Css/admin.css' />
<load href='__PUBLIC__/Js/admin_rotation.js' />
<load href="__PUBLIC__/Js/jquery-1.7.2.min.js" />
<script type="text/javascript">
	$(function(){
		
		$(":radio[value={$rotation.state}]").attr('checked',true);
	});
</script>
</head>
<body id="main">

<div class="map">
	管理首页 &gt;&gt; 内容管理 &gt;&gt; <strong id="title">修改轮播器</strong>
</div>
<ol>
	<li><a href="__URL__/index" class="selected">轮播器列表</a></li>
	<li><a href="__URL__/add">新增轮播器</a></li>
	<li><a href="__URL__/edit/id/{$rotation.id}">修改轮播器</a></li>
</ol>
<form method="post" name="content" action="__URL__/update">
	<input type="hidden" value="{$rotation.id}" name="id" />
	<table cellspacing="0" class="left">
		<tr><td>轮 播 图：<input type="text" value="{$rotation.thumbnail}" name="thumbnail" readonly="readonly" class="text" />
								<input type="button" value="上传缩略图" onclick="centerWindow('__URL__/showUploadFile','upfile','400','100')" />
								<img name="pic" src="__PUBLIC__/Uploads/m_{$rotation.thumbnail}" style="display:block;" /> ( * 最佳大小是268X193或以上，必须是jpg,gif,png，并且200k内)</td></tr>
		<tr><td>链　　接：<input type="text" value="{$rotation.link}" name="link" class="text" /> (* 不得为空，站内站外连接均可)</td></tr>
		<tr><td>标　　题：<input type="text" value="{$rotation.title}" name="title" class="text" /> (* 不得大于20位！)</td></tr>
		<tr><td>文章简介：<textarea name="info">{$rotation.info}</textarea> (* 描述不得大于200位！)</td></tr>
		<tr><td>是否轮播：<input type="radio"  name="state" value="1" /> 是 <input type="radio"  name="state" value="0" /> 否</td></tr>
		<tr><td><input type="submit" name="send" value="修改轮播图" onclick="return checkAddRotatain();" class="submit level" /> [ <a href="{$prev_url}">返回列表</a> ]</td></tr>
	</table>
</form>
</body>
</html>